home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 112 / EnigmaAmiga112CD.iso / dalla rivista / awnpipe / awnp / awnp-docs / string.doc < prev    next >
Text File  |  2000-05-17  |  2KB  |  98 lines

  1. String gadget event
  2. -------------------------
  3.  
  4. 'gadget GID string'
  5.  
  6. String gadget parameters.
  7. -------------------------
  8.  
  9. font=GID
  10.  
  11. This sets the font for the gadget. The GID points to an ALREADY defined text attribute.
  12.  
  13. TabCycle (tc)
  14.  
  15.  This gadget can be activated using the tab key.
  16.  
  17. close (c)
  18.  
  19.  This gadget will close the window when selected by the user.
  20.  
  21. readonly (ro)
  22.  
  23.  This gadget is read only.
  24.  
  25. disable=number (dis=)
  26.  
  27.  The gadget is enabled if number = 0 , disabled if number != 0. Defaults to enabled.
  28.  
  29. gadgettext="text" (gt=)
  30.  
  31.  Set the text in the gadget.
  32.  
  33. minchars=number (minc=)
  34.  
  35.  Minimum number of character/digits in this gadget. Defaults to 10.
  36.  
  37. maxchars=number (maxc=)
  38.  
  39.  Maximum number of character/digits in this gadget. Defaults to 100.
  40.  
  41. leftjustify (lj)
  42. centerjustify (cj)
  43.  
  44.  Set the justification of the text for the gadget. Defaults to rightjustify.
  45.  
  46. minwidth=number (minw=)
  47.  
  48.  Set the minimum width for this gadget
  49.  
  50. minheight=number (minh=)
  51.  
  52.  Set the minimum height for this gadget
  53.  
  54. weightedwidth=number (weiw=)
  55.  
  56.  Set the weighted width for this gadget
  57.  
  58. weightedheight=number (weih=)
  59.  
  60.  Set the weighted height for this gadget
  61.  
  62. nominalsize (noms)
  63.  
  64.  Set this gadget to its nominal size.
  65.  
  66. replace=GID
  67.  
  68.  Use this gadget to replace an existing gadget specified by GID.
  69.  
  70. Definition Reply
  71. -----------------
  72.  
  73.  When the gadget creation is successful the pipe replies with
  74.  
  75. 'ok GID'
  76.  
  77. String gadget modify parameters.
  78. -------------------------
  79.  
  80. disable=number (dis=)
  81.  
  82.  The gadget is enabled if number = 0 , disabled if number != 0.
  83.  
  84. gadgettext="text" (gt=)
  85.  
  86.  Set the text in the gadget.
  87.  
  88. selected=num  (s=)
  89.  
  90.  Set the cursor position in a string gadget, and activate the gadget.
  91.  
  92. bufferpos
  93.  
  94.  Read the current cursor position in the string gadget. This keyword should be used by itself. ( 'id GID getposition')
  95.  
  96.  It is replied to with 'POSITION ok'.
  97.  
  98.